package v1

import (
	"car-thirdparty-api/internal/model"
	"github.com/gogf/gf/v2/frame/g"
)

type CarSearchReq struct {
	g.Meta `path:"/search" tags:"search" method:"get" summary:"车辆信息并行模糊查询"`
	*model.CarSearchReq
}

type CarSearchRes struct {
	Total int                    `json:"total"`
	List  []*model.CarSearchItem `json:"list"`
}

type AppCarSearchReq struct {
	g.Meta `path:"/app/search" tags:"search" method:"get" summary:"车辆信息顺序精确查询"`
	*model.CarSearchReq
}

type AppCarSearchRes struct {
	*model.CarSearchItem
}
